<%--
  Created by IntelliJ IDEA.
  User: nidebibaba
  Date: 2023/2/22
  Time: 19:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>注册页面</title>
</head>
<body>
<%--@elvariable id="user" type="com.wdzl.pojo.User"--%>
<sf:form method="post" modelAttribute="user" action="/work/user/register">
    <p>用户账号:<sf:input path="username"/>
    <sf:errors path="username"></sf:errors>
    </p>
    <p>用户密码:<sf:password path="password"/>
    <sf:errors path="password" />
    </p>
    <input type="submit" value="提交">
</sf:form>
</body>
</html>
